package com.efast.dmom.mgmt.service.les.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.efast.dmom.mgmt.dao.les.SysSequenceDao;
import com.efast.dmom.mgmt.entity.les.SysSequence;
import com.efast.dmom.mgmt.service.les.SysSequenceService;
import com.efast.dmom.mgmt.utils.Assist;

@Service
public class SysSequenceServiceImpl implements SysSequenceService {

	@Autowired
	private SysSequenceDao sysSequenceDao;

	@Override
	public long getSysSequenceRowCount(Assist assist) {
		return sysSequenceDao.getSysSequenceRowCount(assist);
	}

	@Override
	public List<SysSequence> selectSysSequence(Assist assist) {
		return sysSequenceDao.selectSysSequence(assist);
	}

	@Override
	public SysSequence selectSysSequenceByObj(SysSequence obj) {
		return sysSequenceDao.selectSysSequenceByObj(obj);
	}

	@Override
	public SysSequence selectSysSequenceById(Integer id) {
		return sysSequenceDao.selectSysSequenceById(id);
	}

	@Override
	public int insertSysSequence(SysSequence value) {
		return sysSequenceDao.insertSysSequence(value);
	}

	@Override
	public int insertNonEmptySysSequence(SysSequence value) {
		return sysSequenceDao.insertNonEmptySysSequence(value);
	}

	@Override
	public int insertSysSequenceByBatch(List<SysSequence> value) {
		return sysSequenceDao.insertSysSequenceByBatch(value);
	}

	@Override
	public int deleteSysSequenceById(Integer id) {
		return sysSequenceDao.deleteSysSequenceById(id);
	}

	@Override
	public int deleteSysSequence(Assist assist) {
		return sysSequenceDao.deleteSysSequence(assist);
	}

	@Override
	public int updateSysSequenceById(SysSequence enti) {
		return sysSequenceDao.updateSysSequenceById(enti);
	}

	@Override
	public int updateSysSequence(SysSequence value, Assist assist) {
		return sysSequenceDao.updateSysSequence(value, assist);
	}

	@Override
	public int updateNonEmptySysSequenceById(SysSequence enti) {
		return sysSequenceDao.updateNonEmptySysSequenceById(enti);
	}

	@Override
	public int updateNonEmptySysSequence(SysSequence value, Assist assist) {
		return sysSequenceDao.updateNonEmptySysSequence(value, assist);
	}

	public SysSequenceDao getSysSequenceDao() {
		return this.sysSequenceDao;
	}

	public void setSysSequenceDao(SysSequenceDao sysSequenceDao) {
		this.sysSequenceDao = sysSequenceDao;
	}

}